package com.joker.demo.core.domain.dto;

/**
 * 任务取消响应PO
 *
 * @author : feixiang.li
 * @since : 2025-07-24 16:57
 */
public class TaskCancelResponseDTO {
    
    /**
     * 任务运行记录id
     */
    private Long jobLogId;

    /**
     * 是否成功
     */
    private boolean success;
    
    /**
     * 响应消息
     */
    private String message;

    public Long getJobLogId() {
        return jobLogId;
    }

    public void setJobLogId(Long jobLogId) {
        this.jobLogId = jobLogId;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "TaskCancelResponseDTO{" +
                "taskId='" + jobLogId + '\'' +
                ", success=" + success +
                ", message='" + message + '\'' +
                '}';
    }
}